using System;

namespace Core.Interfaces
{
  ///<summary>Core view</summary>
  public interface IView
  {
    ///<summary>Close the view</summary>
    void Close();

    ///<summary>Run an action on the Render thread</summary>
    ///<param name="action"></param>
    void ViewDispatcherAction(Action action);

    ///<summary>Show this view</summary>
    void Show();

    ///<summary>Show as dialog</summary>
    bool? ShowDialog();

  }
}